package org.example.service;

import org.example.pojo.Client;
import org.example.pojo.PageBean;

import java.util.List;

public interface ClientService {
    PageBean<Client> list(Integer pageNum, Integer pageSize, String state);

    void add(Client client);

    void update(Client client);

    void delete(Integer id);

    Client getById(Integer id);

    List<Client> getAll();

    List<Client> getClientByName(String name);
}
